package test;
import javax.media.jai.PlanarImage;

import presentation.ImageFrame;

import com.sun.media.jai.widget.DisplayJAI;

import filters.pull.SourcePullFilter;

/**
 * The Main class.
 * 
 * @author Michael Sieber
 */
public class Main {
	private static final String IMAGE = "src.resources/loetstellen.jpg";

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		ImageFrame main = new ImageFrame(IMAGE);
		PlanarImage original = new SourcePullFilter(IMAGE).read().getImage();
		main.setOriginalImage(new DisplayJAI(original));
		main.setVisible(true);
	}
}
